@import '/static/common/less-config.less';
.clearfix:before,
.clearfix:after {
    content: '';
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1;
}

.red {
    color: @red;
}

.wrapper {
    margin: 0 auto;
    width: 1200px;
    position: relative;
}

header {
    height: 90px;
    width: 100%;
    box-sizing: border-box;
    padding-right: 64px;
    position: fixed;
    z-index: 20;
    font-size: 0;
    background: @blue;
    background-size: 100%;
    .logo {
        margin-top: 10px;
    }
    .btn-container {
        float: right;
        margin-top: 33px;
        .btn {
            margin-right: 15px;
        }
    }
}

aside {
    width: 80px;
    background: #ebebeb;
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    box-sizing: border-box;
    padding-top: 122px;
    z-index: 30;
    nav {
        height: 100%;
        width: 80px;
        li:first-child {
            padding-top: 1px;
        }
        li.active,
        aside nav li.hover,
        aside nav li:hover {
            background: @blue;
            color: #fff;
        }
        li {
            display: block;
            cursor: pointer;
            height: 80px;
            text-align: center;
            line-height: 80px;
            color: #8a939a;
            position: relative;
            .icon {
                width: 0;
                height: 0;
                overflow: hidden;
                vertical-align: middle;
                display: inline-block;
            }
            .search-icon,
            .setting-icon,
            .money-icon,
            .calendar-icon,
            .edit-icon {
                padding: 30px 0 0 30px;
            }
            .edit-icon {
                background: url(img/edit.png) no-repeat center center;
            }
            .calendar-icon {
                background: url(img/calendar.png) no-repeat center center;
            }
            .money-icon {
                background: url(img/money.png) no-repeat center center;
            }
            .setting-icon {
                background: url(img/setting.png) no-repeat center center;
            }
            .search-icon {
                background: url(img/search.png) no-repeat center center;
            }
        }
    }
}

.fixed-wrapper {
    padding: 122px 100px 15px 30px;
    box-sizing: border-box;
    position: fixed;
    z-index: 5;
    top: 0;
    left: 0;
    background: #f1f1f1;
    width: 100%;
    height: 100%;
    .planner-day-list {
        max-height: 100%;
        width: 300px;
        box-sizing: border-box;
        padding: 0;
        float: left;
        position: relative;
        li {
            &.active {
                background: #ebebeb;
            }
            box-sizing: border-box;
            height: 130px;
            position: relative;
            padding: 0 24px 0 70px;
            cursor: pointer;
            background: #fff;
            h2 {
                width: 60px;
                height: 60px;
                display: inline-block;
                text-align: center;
                text-transform: uppercase;
                border-radius: 60px;
                background: @blue;
                color: #fff;
                line-height: 60px;
                font-size: 16px;
                font-weight: 400;
                float: left;
                margin: 31px 10px 31px -58px;
                cursor: move;
            }
            .date {
                font-size: 14px;
                line-height: 20px;
                color: #959595;
            }
            .places {
                font-size: 16px;
                color: #323232;
                line-height: 20px;
                margin-top: 2px;
                overflow: hidden;
                span:before {
                    content: ">";
                    padding: 0 .2em;
                }
                span:first-child:before {
                    content: "";
                    padding: 0;
                }
            }
            .text-container {
                width: 100%;
                height: 100%;
                display: block;
                font-size: 0;
                &>div {
                    font-size: 14px;
                    display: inline-block;
                    max-width: 100%;
                    vertical-align: middle;
                }
            }
            .more {
                /* cursor: context-menu; */
                width: 8px;
                height: 6px;
                position: absolute;
                right: 16px;
                top: 60px;
                background: url(img/ddown.png) no-repeat center center;
            }
            .text-container:before {
                content: "";
                display: inline-block;
                height: 100%;
                vertical-align: middle;
            }
        }
    }
    .planner-recommends {
        width: 650px;
        float: right;
        position: relative;
        height: 100%;
        .recommends-header {
            height: 60px;
            width: 100%;
            box-sizing: border-box;
            border-bottom: 1px solid #ddd;
            padding: 0 20px;
            background: #fff;
            border-radius: 5px 5px 0 0;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 20;
            .search {
                position: absolute;
                width: 32px;
                height: 32px;
                border-radius: 3px;
                background: #fff;
                overflow: hidden;
                top: 14px;
                right: 19px;
                transition: width .25s;
                &.expand {
                    top: 13px;
                    right: 18px;
                    border: 1px solid #e1e1e1;
                    width: 470px;
                    transition: width .25s;
                }
                input {
                    position: absolute;
                    left: 18px;
                    width: 370px;
                    outline: 0;
                    line-height: 32px;
                    height: 32px;
                }
                a {
                    width: 32px;
                    height: 32px;
                    border-radius: 3px;
                    overflow: hidden;
                    position: absolute;
                    display: block;
                    top: 0;
                    right: 0;
                    background: @blue;
                    text-align: center;
                    line-height: 30px;
                    font-size: 0;
                    .magnify {
                        padding: 32px 0 0 32px;
                        display: block;
                        background: url(img/search1.png) no-repeat center center;
                    }
                }
                .close {
                    width: 0;
                    height: 0;
                    display: block;
                    right: 50px;
                    top: 11px;
                    border-radius: 0!important;
                    padding: 10px 0 0 10px;
                    background: url(img/close.png);
                }
            }
            .city {
                font-size: 16px;
                color: #323232;
                line-height: 60px;
                .triangle {
                    border-top: 4px solid #323232;
                    border-left: 4px solid transparent;
                    border-right: 4px solid transparent;
                    vertical-align: -13px;
                    margin-left: 4px;
                }
            }
            .city-options {
                width: 350px;
                max-height: 400px;
                overflow-y: scroll;
                box-sizing: border-box;
                border: 1px solid #ddd;
                border-radius: 4px;
                background: rgba(255, 255, 255, .95);
                box-shadow: 0 0 10px rgba(0, 0, 0, .4);
                padding: 20px;
                position: absolute;
                z-index: 2;
                top: 50px;
                left: 20px;
                li {
                    font-size: 14px;
                    color: #323232;
                    line-height: 28px;
                    cursor: pointer;
                }
                li:hover {
                    background: #f5f5f5;
                }
            }
        }
        .recommends-tabs {
            height: 55px;
            background: #fff;
            position: absolute;
            top: 60px;
            left: 0;
            z-index: 1;
            .mainmenu {
                height: 54px;
                display: block;
                padding: 0 20px;
                border-bottom: 1px solid #ddd;
                background-color: #fff;
                &>li {
                    width: 120px;
                    display: block;
                    float: left;
                    text-align: center;
                    &>a {
                        font-size: 14px;
                        height: 52px;
                        color: #000;
                        display: inline-block;
                        vertical-align: middle;
                        line-height: 54px;
                        position: relative;
                        &.active,
                        &:hover {
                            border-bottom: 3px solid @blue;
                            text-decoration: none;
                            color: @blue;
                        }
                    }
                }
            }
        }
        .recommends-body {
            padding-top: 60px;
            background: #fff;
            height: 100%;
            .inner {
                padding: 76px 20px 20px 16px;
            }
            article {
                width: 100%;
                margin-bottom: 20px;
                overflow: hidden;
                position: relative;
                .image {
                    width: 300px;
                    position: relative;
                    cursor: pointer;
                    height: 200px;
                    float: left;
                    overflow: hidden;
                    background: #eee;
                    img {
                        display: block;
                        position: absolute;
                        top: 0;
                        left: 0;
                        height: 100%;
                        width: 100%;
                    }
                }
                .info {
                    float: left;
                    width: 312px;
                    background: #f1f1f1;
                    height: 200px;
                    .a1 {
                        .price {
                            color: @red;
                            font-size: 18px;
                            float: right;
                            width: 155px;
                            text-align: right;
                            .discount-icon {
                                width: 24px;
                                height: 11px;
                                line-height: 11px;
                                color: #fff;
                                text-align: center;
                                font-size: 12px;
                                display: inline-block;
                                background: url(img/discount.png) no-repeat center center;
                            }
                        }
                        height: 45px;
                        width: 100%;
                        padding: 10px;
                        .title {
                            background: @blue;
                            color: #fff;
                            float: left;
                            font-size: 18px;
                            width: 130px;
                            height: 26px;
                            line-height: 26px;
                            text-align: center;
                        }
                    }
                    .a2 {
                        height: 105px;
                        width: 100%;
                        background: #bde2f0;
                        padding: 10px;
                        position: relative;
                        .more {
                            position: absolute;
                            bottom: 10px;
                            right: 10px;
                            a {
                                font-size: 12px;
                                color: #000
                            }
                        }
                        li {
                            line-height: 20px;
                        }
                    }
                    .a3 {
                        padding: 10px;
                        height: 50px;
                        width: 100%;
                        .btn {
                            border-radius: 0px;
                            float: right;
                        }
                        ul {
                            li {
                                float: left;
                                padding-left: 16px;
                                font-size: 12px;
                                margin-top: 10px;
                                margin-right: 8px;
                                &.heart {
                                    background: url(img/heart.png) no-repeat left center;
                                }
                                &.zan {
                                    background: url(img/zan.png) no-repeat left center;
                                }
                            }
                        }
                    }
                }
                .excellent {
                    width: 0;
                    height: 0;
                    display: block;
                    position: absolute;
                    padding: 28px 0 0 52px;
                    overflow: hidden;
                    top: 0;
                    left: 0;
                }
            }
        }
    }
}

.scroll-wrapper {
    position: fixed;
    z-index: 10;
    height: 100%;
    width: 340px;
    top: 122px;
    left: 350px;
    overflow: hidden;
    .planner-day-details {
        width: 100%;
        background: #fff;
        .details-header {
            padding: 15px 20px;
            color: #aaa;
            position: relative;
            line-height: 30px;
            font-size: 15px;
            padding-bottom: 30px;
            border-bottom: solid 1px #f1f1f1;
            em {
                color: #333;
            }
            .edit-plan {
                width: 32px;
                height: 32px;
                border-radius: 3px;
                overflow: hidden;
                position: absolute;
                display: block;
                top: 30px;
                right: 25px;
                text-align: center;
                line-height: 30px;
                font-size: 0;
                background:#6fcbee url(img/edit1.png) no-repeat center center;
            }
        }
    }
}

.mCustomScrollbar {
    .inner-header {
        height: 22px;
        border-radius: 5px 5px 0 0;
        background-color: #fff;
    }
    .inner-footer {
        height: 22px;
        border-radius: 0 0 5px 5px;
        background-color: #fff;
    }
}
